﻿#pragma once
#ifndef CONF_H
#define CONF_H
#include <QString>
#include "json.h"
#include <QFile>

class Conf
{
private:
    Conf()
    {
        m_pConf = nullptr;
    }
    static Conf* m_pConf;
public:
    static Conf* getInstance();
    void init();
    void saveConf();
    QString m_ip;
    uint m_chatPort;
    uint m_filePort;
    uint m_imgPort;
    uint m_audioPort;
    uint m_videoPort;
};

#endif // CONF_H
